<template>
	<view class="content">
		<template v-for="(item,index) of list">
			<button :key="index" @click="toPage(item)">海报案例{{index+1}}</button>
		</template>
	</view>
</template>

<script>
	import rCanvas from "@/components/r-canvas/r-canvas.vue"
	export default {
		components: {
			rCanvas
		},
		data(){
			return{
				list:[
					{
						url:'/pages/example1/index'
					},
					{
						url:'/pages/example2/index'
					},
					{
						url:'/pages/example3/index'
					}
				]
			}
		},
		methods:{
			toPage(item){
				uni.navigateTo({
					url:item.url
				})
			}
		}
	}
</script>